-
Notifications
You must be signed in to change notification settings - Fork 1.4k
img_mgmt: Verify memory controller node while determining a running application partition. #25704
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
img_mgmt: Verify memory controller node while determining a running application partition. #25704
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the img_mgmt subsystem to use absolute addresses when determining the running application partition, instead of relative offsets. The change adds support for CONFIG_USE_DT_CODE_PARTITION by computing absolute flash addresses from device tree properties.
- Adds new macro definitions for absolute address calculation using device tree
- Updates the running partition check to use address range comparison instead of exact offset matching
- Updates Zephyr SDK revision to pull/3520/head
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| west.yml | Updates Zephyr revision to pull/3520/head to incorporate required changes |
| subsys/mgmt/mcumgr/grp/img_mgmt/src/img_mgmt.c | Adds CONFIG_USE_DT_CODE_PARTITION support with absolute address calculation macros |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
The following west manifest projects have changed revision in this Pull Request:
⛔ DNM label due to: 1 project with PR revision Note: This message is automatically posted and updated by the Manifest GitHub Action. |
CI InformationTo view the history of this post, click the 'edited' button above Inputs:Sources:sdk-nrf: PR head: 2666d2caada676b81e08cc079f1d6c99b27179c8 more detailssdk-nrf:
zephyr:
Github labels
List of changed files detected by CI (8)Outputs:ToolchainVersion: 4e36fbc961 Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
b8653b8 to
a76b1ee
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
You can find the documentation preview for this PR here. |
a76b1ee to
a51e832
Compare
a51e832 to
0ef2334
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
Comments suppressed due to low confidence (1)
include/flash_map_pm.h:1
- Inconsistent indentation: line 77 uses a tab followed by the condition, while line 78 uses two tabs. The macro arguments should have consistent indentation aligned with the opening parenthesis or follow a uniform pattern.
/*
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
0ef2334 to
3b2c30e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.
Comments suppressed due to low confidence (1)
include/flash_map_pm.h:1
- The indentation is inconsistent - line 77 uses a tab, while line 78 uses two tabs. The opening parenthesis on line 78 should align with line 77 for consistency, using a single tab followed by spaces if needed.
/*
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
3b2c30e to
c52a4eb
Compare
Use absolute addresses while determining a running application partition. Ref: NCSIDB-1773 Signed-off-by: Tomasz Chyrowicz <[email protected]>
c52a4eb to
2666d2c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Verify memory controller node while determining a running application partition.
Ref: NCSIDB-1773